package com.ca.ridersclubapplication.util;

import android.app.Activity;
import android.content.Intent;

import com.ca.ridersclubapplication.ImageActivity;

public class ActivityStarter {

    public static void startImageActivity(Activity activity, String[] imageUrlArray, int index) {
        Intent intent = new Intent(activity, ImageActivity.class);
        intent.putExtra("imageUrlArray", imageUrlArray);
        intent.putExtra("index", index);
        activity.startActivity(intent);
    }
}
